<?php

class myUser extends sfGuardSecurityUser
{
  public function getUserId()
  {
    return $this->getGuardUser()->getId();
  }
}
